SpreadsheetGear 2010
OpenFromMemory(Byte[],String) Method
See Also  Send Feedback
SpreadsheetGear Namespace > IWorkbooks Interface > OpenFromMemory Method : OpenFromMemory(Byte[],String) Method

buffer
The buffer to open the workbook from.
password
The password to use when opening the workbook.
Open an existing workbook in a newly created instance of IWorkbook.

Syntax

Visual Basic (Declaration) 
Overloads Function OpenFromMemory( _
   ByVal buffer() As Byte, _
   ByVal password As String _
) As IWorkbook
C# 
IWorkbook OpenFromMemory( 
   byte[] buffer,
   string password
)

Parameters

buffer
The buffer to open the workbook from.
password
The password to use when opening the workbook.

Return Value

The opened workbook.

Remarks

The various workbook settings which make a workbook read-only in an end user workbookSet have no affect at this level. These settings are available as IWorkbook properties.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.